package com.frxuexi.sign

import com.frxuexi.lib_base.ApiResponse
import com.frxuexi.sign.entity.SignEntity
import kotlinx.coroutines.flow.Flow
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.POST

interface ApiService {

    @POST("/sign/selSign")
    fun getSignList(@Body body: RequestBody): Flow<ApiResponse<List<SignEntity>>>

    @POST("/sign/insertSign")
    fun sign(@Body body: RequestBody): Flow<ApiResponse<List<SignEntity>>>
}